﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

public static class SETS
{
    public static int?   ANONYMOUS_ID = 1 ;
    public static string ANONYMOUS_NA = "Anonüümne kasutaja" ;

    public static string IDLINKUSERPAGE = "~/Kohvik/usertemp.aspx?id=" ;
    public static string IDLINKCAFEPAGE = "~/Kohvik/KohvikuKomm.aspx?id=" ;

    public const int DEFNUMCOM_FS = 10 ;
    public const int DEFNUMPAG_FS = 15 ;
    public const int DEFPAGDIV = 3 ;
    public static string LIPG_REFRESH_TE = "Värskenda loetelu" ;

    public static string COMMSENDFAIL = "Kommentaari saatmine ei õnnestunud!" ;
    public static string COMMSENDCOMM = "Saada kommentaar" ;
    public static string COMMSENDLABL = "AJUTINE TEST TEKST!!!" ;

    public static string COMMCONTCONF = "Kinnita" ;
    public static string COMMCONTCANC = "Katkesta" ;
    public static string COMMCONTREPO = "Raporteeri" ;
    public static string COMMCONTMODI = "Muuda" ;
    public static string COMMCONTSEEN = "Nähtud" ;
    public static string COMMCONTUNSE = "Vaatamata" ;
    public static string COMMCONTDELE = "Kustuta" ;
    public static string COMMCONTREST = "Taasta" ;
    public static string COMMCONTHIDE = "Peida" ;
    public static string COMMCONTSHOW = "Näita" ;
    public static string COMMCONTREMO = "Eemalda" ;
    public static string COMMCONTALLO = "Luba" ;
    public static string COMMCONTDENY = "Keela" ;
    public static string COMMCONTPREV = "Eelvaade" ;
    public static string COMMCONTREVI = "Kohenda" ;
    public static string COMMCONTCLEA = "Tühjenda" ;

    public static string COMMCONTDONE = "Lõplikult kustutatud!" ;

    public const byte COMMACTINONE = 0 ;
    public const byte COMMACTIDEFA = 1 ;//
    public const byte COMMACTIREPO = 2 ;//
    public const byte COMMACTIMODI = 3 ;//
    public const byte COMMACTISEEN = 20 ;
    public const byte COMMACTIUNSE = 30 ;
    public const byte COMMACTIDELE = 4 ;//
    public const byte COMMACTIREST = 5 ;
    public const byte COMMACTIHIDE = 6 ;//-
    public const byte COMMACTISHOW = 7 ;//-
    public const byte COMMACTIREMO = 8 ;//
    public const byte COMMACTIALLO = 9 ;
    public const byte COMMACTIDENY = 10 ;
    public const byte COMMACTIPREV = 11 ;//
    public const byte COMMACTIREVI = 12 ;//
    public const byte COMMACTICLEA = 13 ;//?

    public const byte COMMRATENONE = 0 ;

    public static string COMMINTESUCC = "Toiming teostatud" ;
    public static string COMMINTEFAIL = "Toiming ebaõnnestus" ;
    public static string COMMINTERATE = "Hinne" ;
    public static string COMMINTEPOST = "Postitus" ;
    public static string COMMINTECREA = "Loodud" ;
    public static string COMMINTEMODI = "Muudetud" ;
    public static string COMMINTEDELE = "Kustutatud" ;
    public static string COMMINTEVALU = ": " ;
    public static string COMMINTESEPA = "; " ;

    public const int COMMCOMMMINL = 1 ;//NEED VÕTTA KASUTUSELE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    public const int COMMCOMMMAXL = 4000 ;
    public const int COMMPOSTMINL = 1 ;
    public const int COMMPOSTMAXL = 4000 ;

    public const byte CAFECA = 1 ;
    public const byte CAFECM = 2 ;
    public const byte CAFECU = 3 ;
    public const byte FOODCA = 4 ;
    public const byte FOODCM = 5 ;
    public const byte FOODCU = 6 ;
    public const byte FORUMA = 7 ;
    public const byte FORUMM = 8 ;
    public const byte FORUMU = 9 ;

    public const byte OWNCCE = 10 ;//tavalised
    public const byte OWNCFD = 11 ;
    public const byte OWNCFM = 12 ;
    public const byte OWNHCE = 13 ;//peidetud
    public const byte OWNHFD = 14 ;
    public const byte OWNHFM = 15 ;
    public const byte OWNTCE = 16 ;//prügi
    public const byte OWNTFD = 17 ;
    public const byte OWNTFM = 18 ;

//    public const byte USERPCA = 6 ;//kas vaja???

/*    public const byte COMCAFACTREP = 1 ;
    public const byte COMCAFACTREM = 2 ;
    public const byte COMCAFACTMOD = 3 ;
    public const byte COMCAFACTDEL = 4 ;*/




//http://www.c-sharpcorner.com/UploadFile/raj1979/LoginControl07242008104351AM/LoginControl.aspx
//http://forums.asp.net/t/1403132.aspx/1?Login+control+FAQ+


//http://msdn.microsoft.com/en-us/library/kyt0fzt1.aspx


//http://www.daniweb.com/software-development/csharp/code/216441

//http://forums.asp.net/t/1461308.aspx/1?ASP+Net+Message+Box+Alert+Display
//http://forums.asp.net/t/1286956.aspx/1?How+to+add+event+handlers+to+dynamic+controls

//System.Web.HttpContext.Current.Response.Write("<SCRIPT LANGUAGE=\"JavaScript\">alert(\"Hello this is an Alert\")</SCRIPT>");
//System.Web.HttpContext.Current.Response.Write(("<SCRIPT LANGUAGE=\"JavaScript\">alert(\""+it.ToString()+"\")</SCRIPT>"));

}